Ext.define('Intranet.Desktop.store.AllModulesStore', {
    extend: 'Ext.data.Store',
    model: 'Intranet.Desktop.model.Module',
    proxy: {
         type: 'ajax',
         url: '/src/public/module/index/index',
         autoSync: true,
         reader: {
             type: 'json',
             root: 'modules'
         }
     
    },
    
    autoLoad: true,
    autoDestroy: true
});


